﻿using System;

namespace UltimateNavigationFramework.UriNavigation
{
    /// <summary>
    /// Ultimate Navigation Failed Event Args
    /// </summary>
    public sealed class UltimateNavigationFailedEventArgs : EventArgs
    {
        public Uri Uri { get; private set; }

        public Exception Exception { get; private set; }

        public bool Handled { get; set; }

        public UltimateNavigationFailedEventArgs(Uri uri, Exception error)
        {
            this.Uri = uri;
            this.Exception = error;
        }
    }
}
